<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2020/9/11
  Time: 16:10
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
    <link type="text/css" rel="stylesheet" href="${pageContext.request.contextPath}/static/css/bootstrap.min.css">
</head>
<body>
<script type="text/javascript" src="${pageContext.request.contextPath}/static/js/jquery-3.4.1.min.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath}/static/js/bootstrap.min.js"></script>
<%=request.getContextPath()%><br>
<div class="container">
    <div class="row">
        <form action="/user/upd" METHOD="post">
            <div class="form-gro Mup">
                <label for="uid">用户编号</label> <input type="text" class="form-control" id="uid" placeholder="UserID" name="uid" readonly="readonly" value="${user.uid}">
            </div>
            <div class="form-group">
                <label for="uname">用户名</label> <input type="text" class="form-control" id="uname" placeholder="Username" name="uname" readonly="readonly" value="${user.uname}">
            </div>
            <div class="form-group">
                <label for="upass">密码</label> <input type="password" class="form-control" id="upass" placeholder="Password" name="upass" value="${user.upass}">
            </div>
            <div class="form-group">
                <label for="exampleInputEmail1">邮箱</label> <input type="email" class="form-control" id="exampleInputEmail1" placeholder="Email" name="email" value="${user.email}">
            </div>

            <div class="form-group">
                <%--
                <label for="gender">性别</label><br> 男<input type="radio" class="form-control" id="gender1" value="男" name="gender" <c:if test="${user.gender=='男'}">checked="checked"</c:if>>
                女<input type="radio" class="form-control" id="gender" value="女" name="gender" <c:if test="${user.gender=='女'}">checked="checked"</c:if>>--%>
                    <label for="gender">性别</label> <input type="text" class="form-control" id="gender" placeholder="gender" name="gender" value="${user.gender}">
            </div>
            <button type="submit" class="btn btn-default">提交</button>
        </form>

    </div>

</div>
</body>
</html>
